package com.ynet.middleground.contract.bean;

import java.util.List;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 创建证据链请求类
 * @date 2020-04-15 22:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "创建证据链请求类", description = "场景式存证，创建证据链请求类，用来获取场景式存证编号")
public class AddChainOfEvidenceReq extends EnterpriseBaseReqObj {

    private static final long serialVersionUID = 5944911084736977094L;

    @ApiModelProperty(value = "数据存证名称", notes = "数据存证名称，要显示的场景式存证名称，如 XXX 借款合同签署", dataType = "String", required = true)
    @NotBlank(message = "数据存证名称不能为空")
    private String sceneName;

    @ApiModelProperty(value = "业务凭证（名称）ID", notes = "业务凭证（名称）ID", dataType = "String", required = true)
    @NotBlank(message = "业务凭证（名称）ID不能为空")
    private String sceneTemplateId;

    @ApiModelProperty(value = "证据 id 列表", notes = "证据 id 列表")
    private List<IdsBean> linkIds;
}
